Network Packet monitoring using raw socket programming in C # Author: Unknown
When talking about socket programming, you may think of QQ and IE. That's right. Many other network tools, such as P2P and Netmeeting, are implemented at the application
Use Raw Socket programming in C # To monitor network packets
When talking about socket programming, you may think of QQ and IE. That's right. Many other network tools, such as P2P and NetMeeting,
When talking about socket programming, you may think of QQ and IE. That's right. Many other network tools such as P2P and Netmeeting are implemented at the application layer.
Program Is also implemented using socket. Socket is a network programming
Transferred from
Author's blog:Http://blog.csdn.net/cilong521/
When talking about socket programming, you may think of QQ and IE. That's right. Many other network tools, such as P2P and Netmeeting, are implemented at the application layer using
Socket_stream Streaming sockets
Socket_dgram
Socket_raw RAW sockets
IPPROTO_IP IP Protocol
IPPROTO_ICMP Internet Control Message Protocol, with the original socket can realize the function of ping
IPPROTO_IGMP INTERNET Gateway Service protocol, used
C # Raw Socket for network packet monitoring,
Compared with Winsock1, Winsock2 supports the Raw Socket type most obviously. Using Raw Socket, you can set the NIC to the hybrid mode. In this mode, we can receive the IP packet on the network, of
When talking about socket programming, you may think of QQ and IE. That's right. Many other network tools, such as P2P and NetMeeting, are implemented at the application layer using socket. Socket is a network programming interface that is
Programming | Network talk about socket programming, we may think of QQ and IE, yes. There are many network tools such as Peer-to-peer, NetMeeting and other applications implemented in the application layer, but also with the socket to achieve. The
Programming | network
Talking about socket programming, we may think of QQ and IE, yes. There are many network tools such as Peer-to-peer, NetMeeting and other applications implemented in the application layer, but also with the socket to achieve.
Compared with WINSOCK1, Winsock2 most obvious is to support the raw socket socket type, using raw socket, can set the network card into promiscuous mode, in this mode, we can receive IP packets on the network, of course, including the destination is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.